POST
/
notifications
curl --request POST \
  --url https://your_a2_service/notifications \
  --header 'Content-Type: application/json' \
  --data '{
  "created_at": "2023-11-07T05:31:56Z",
  "is_read": true,
  "message": {
    "code": "publish_request",
    "params": {}
  },
  "updated_at": "2023-11-07T05:31:56Z",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "created_at": "2023-11-07T05:31:56Z",
  "is_read": true,
  "message": {
    "code": "publish_request",
    "params": {}
  },
  "no": 123,
  "updated_at": "2023-11-07T05:31:56Z",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

application/json

Schema for creating a new notification.

Response

200
application/json

Successful Response

Schema for reading notification entity.